package com.example.demo.Repository;

import com.example.demo.Entity.Work;
import org.springframework.data.jpa.repository.JpaRepository;


import java.util.List;

public interface WorkRepository extends JpaRepository<Work, Long> {
    List<Work> findByUser_Id(Long userId);
}